<template>
  <div class="indexHeader">
    <div class="header-top">
      <el-row>
        <el-col :span="12">
          <div class="grid-content">
            <span class="top-left-wd">欢迎您使用智通达智慧采选平台！</span>
          </div>
        </el-col>
        <el-col :span="12">
          <div class="grid-content">
            <span class="about">关于智通达</span>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="24">
          <div class="grid-content pd-top">
            <img src="../assets/ztd.png" alt="">
          </div>
        </el-col>
      </el-row>
      <div class="bd-line">
        <div class="top-nav-wd">
        <el-row :gutter="20">
          <el-col :span="18">
            <div class="grid-content clearfix">
              <ul class="top-nav clearfix">
                <li>
                  <a href="#" class="nav-active">首页</a>
                </li>
                <li>
                  <a href="#">推荐采选</a>
                </li>
                <li>
                  <a href="#">按出版社采选</a>
                </li>
                <li>
                  <a href="#">按类采选</a>
                </li>
                <li>
                  <a href="#">按出版时间采选</a>
                </li>
              </ul>
            </div>
          </el-col>
          <el-col :span="6">
            <div class="grid-content pd-top7">
              <a href="#" class="pdTop">
                <i class="iconfont icon-03f"></i>
                <span>采选车</span>
                <span class="num-bold">0</span>
                <span>种</span>
              </a>
            </div>
          </el-col>
        </el-row>
      </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'indexHeader'
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
.indexHeader{
  height: 9rem;
}
  .header-top{
    background-color: #363636;
    color: #fff;
    font-size: 0.7rem;
    height: 1.2rem;
    line-height: 1.2rem;
  }
  .pd-top{
    padding:1rem 0;
  }
  .top-nav-wd{
    width:1280px;
    margin: auto;
  }
  .bd-line{
    border-bottom:2px solid #c33122;
  }
.pd-top7{
  padding-top:0.35rem;
}
  .nav-active{
    background-color:#c33122;
    color: #fff!important;
  }
  .num-bold{
    color: #c33122;
    font-weight: bold;
  }
  .top-left-wd{
    display: inline-block;
    width: 35%;
    text-align: left;
  }
  .top-nav li {
    float: left;
    width: 6.5rem;
    height:2.1rem;
    line-height: 2.1rem;
    margin-right: 0.2rem;
    a {
      display: inline-block;
      font-weight: bold;
      height:2.1rem;
      line-height: 2.1rem;
      width: 100%;
      letter-spacing: 2px;
      &:hover{
        background-color:#c33122;
        color: #fff!important;
      }
    }
  }
  .about {
    display: inline-block;
    width: 12.5rem;
    text-align: right;
  }
</style>
